export default {
	methods: {
		listFormat(res){
			let {
				rows,
				total
			} = res
			if (total === 0) {
				this.list = []
				this.loadStatus = 'nomore'
				return
			}
			
			if (this.queryParams.pageNum === 1) {
				this.list = rows
			} else {
				this.list = this.list.concat(rows)
			}
			if (this.list.length === total) {
				this.loadStatus = 'nomore'
			}
		}
	}
}